package com.ktjy.mapper;

import com.ktjy.pojo.Computerroom;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ComputerroomMapper {
    public List<Computerroom> selectAll(@Param("roomName") String roomName, @Param("computerNumber") int computerNumber, @Param("PageSize") int PageSize, @Param("PageBegin") int PageBegin);
    public int add(Computerroom computerroom);
    public int delete(@Param("roomId") int roomId);
    public int update(Computerroom computerroom);
    public Computerroom detailFlower(@Param("roomId") int roomId);
    public  int count(@Param("roomName") String roomName, @Param("computerNumber") int computerNumber);
}
